<?php
/**
 * Wufoo_Form
 *
 * @category   Wufoo
 * @package    Wufoo_Form
 * @copyright  Copyright (c) 2009-2010 Eyeflow Internet Marketing. (http://www.eyeflow.com)
 * @author     Sergei Izvorean
 */
class Wufoo_Form_Element_Date extends Zend_Form_Element_Text
{
    public function init()
    {
        // Append 'date' to element's class
        $class = $this->getAttrib('class');
        $this->setAttrib('class', empty($class) ? 'date' : $class.' date');
    }
}